
class HcjlbVO {
  /**
   * 框架名称
  */
  public gameName: string = "HcjlbVO";
  public static VO: HcjlbVO = null;
  public static getVo(): HcjlbVO {
    if (!HcjlbVO.VO) {
      HcjlbVO.VO = new HcjlbVO();
    }
    return HcjlbVO.VO;
  }
  public dwServerRule: number;          //房间规则
  public wChairCount: number;           //椅子数目
  public wServerType: number;           //房间类型
  public wTableCount: number;           //桌子数目

  //玩家私有变量
  //金币
  public lUserScore: number;
  //状态
  public status: number;
  //桌子  
  public wTableId_up: number;
  public wTableId: number;
  //椅子
  public wChairId: number;

  public playerNumber: number = 0;//跟我同桌人数
  public userInfo = {}; //广场里所有玩家信息所有玩家信息
  //玩家私有变量






  public dwTimeLeave: any; //倒计时间
  public userGold: any; //用户金币

  //用户下注
  public ItemBetAmount: any;//8个框下的总筹码
  public wBetItem: any; //项目
  public wBetAmount: any; //下注金额
  public wUserID: any; //用户ID
  public dwUserID: any; //庄家id


  //开奖数据
  public lotterywWhichOne: any; //本次选中哪一个
  public lotterydwBankerScore: any; //庄家本局赢的金币
  public lotterywBankOnJobTimes: any; //庄家轮庄次数
  public lotteryPlayerInfoArray: any; //cPlayerName 名字 llProfit盈利
  public lotteryllTotalPfofit: any; //玩家本局总盈利

  //场景信息
  public cBankName: any; //庄家名称
  public llBankerScore: any; //庄家金币
  public wApplyBankerNum: any; //申请庄家数
  public sItemOdds: any; //wBetItem 下注项目 wOdds 项目赔率
  public BankerLowestProperty: any; //庄家最低金币
  public wRecordNumber: any; //历史个数
  public wDrawRecord: Array<any>; //开奖历史

  //上庄列表
  public cbApplyNum: any; //申请人数
  public sApplyBanker: any; //申请信息

  //申请上庄
  public dwUserid2: any; //用户ID
  public successful: any; //1:申请成功 0:金币不足 2-同一玩家不能多次申请 3-当前庄家不再接受申请
  //取消上庄
  public cancelCard: any;
  //用户分数
  public userid: any;
  public UserScore: any;
  //押注状态
  public sBetingItemInfo: any;

  public myBetts: Array<string> = [];//我下的注，点击下注时记录，服务器返回后做动画时删除，确保服务器返回的下注肯定是我下的不是机器人下的。格式"ID_金币"，例如 1310055_100

  //用户信息
  public tagMobileUserInfoHead: any;
  //是否退出
  public game_state: any;

  //用户状态 
  public UserStatus: any;


  //重置玩家信息
  public initUserInof() {
    this.lUserScore = null;
    this.status = null;
    this.wTableId = null;
    this.wChairId = null;
    this.playerNumber = 0;
  }
}
